package com.csap.framework.apidoc.admin.model;

import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;

import java.time.LocalDateTime;

import com.csap.framework.apidoc.admin.entity.ApiDocMockEntity;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;

/**
 * <p>
 * 文档mock数据
 * </p>
 *
 * @author
 * @dateTime
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "文档mock数据", value = "apiDocMock对象")
@Description(value = "文档mock数据Model")
public class ApiDocMockModel extends CloneModel<ApiDocMockModel, ApiDocMockEntity> {
    @ApiModelProperty(description = "主键", value = "主键", forceRep = true)
    private Long id;
    @ApiModelProperty(description = "创建时间", value = "创建时间", forceRep = true)
    private LocalDateTime createTime;
    @ApiModelProperty(description = "修改时间", value = "修改时间", forceRep = true)
    private LocalDateTime updateTime;
    @ApiModelProperty(description = "mock条件名", value = "mock条件名", forceRep = true, forceReq = true)
    private String name;
    @ApiModelProperty(description = "http状态", value = "http状态", forceRep = true, forceReq = true)
    private Integer httpStatus;
    @ApiModelProperty(description = "延时返回-单位毫秒", value = "延时返回-单位毫秒", forceRep = true, forceReq = true)
    private Integer waitTime;
    @ApiModelProperty(description = "返回的具体内容数据", value = "返回的具体内容数据", forceRep = true, forceReq = true)
    private String content;
    @ApiModelProperty(value = "文档条件参数", forceRep = true, forceReq = true)
    private ApiDocMockParamModel mockParamModel;
}
